package com.geoway.adf.report.jpa;

import org.hibernate.dialect.PostgreSQL9Dialect;

import java.sql.Types;

/**
 * @Author: lzw
 * @Date: 2024/1/17 9:50
 * @Description: 处理json类型
 */
public class CustomPostgreSqlDialect extends PostgreSQL9Dialect {
    public CustomPostgreSqlDialect() {
        super();
        this.registerColumnType(Types.JAVA_OBJECT, "jsonb");
    }
}